package com.example.demo.entity;

import lombok.Data;

@Data
public class Sys_role {
    private int id;
    private String name;
    private String description;
    private long create_time;
    private String create_by;
    private long update_time;
    private String update_by;
    private int del_flag;

    public Sys_role() {
    }

    public Sys_role(int id, String name, String description, long create_time, String create_by, long update_time, String update_by, int del_flag) {
        this.id = id;
        this.name = name;
        this.description = description;
        this.create_time = create_time;
        this.create_by = create_by;
        this.update_time = update_time;
        this.update_by = update_by;
        this.del_flag = del_flag;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription(String s) {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public long getCreate_time() {
        return create_time;
    }

    public void setCreate_time(long create_time) {
        this.create_time = create_time;
    }

    public String getCreate_by() {
        return create_by;
    }

    public void setCreate_by(String create_by) {
        this.create_by = create_by;
    }

    public long getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(long update_time) {
        this.update_time = update_time;
    }

    public String getUpdate_by() {
        return update_by;
    }

    public void setUpdate_by(String update_by) {
        this.update_by = update_by;
    }

    public int getDel_flag() {
        return del_flag;
    }

    public void setDel_flag(int del_flag) {
        this.del_flag = del_flag;
    }

    @Override
    public String toString() {
        return "Sys_role{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", description='" + description + '\'' +
                ", create_time=" + create_time +
                ", create_by='" + create_by + '\'' +
                ", update_time=" + update_time +
                ", update_by='" + update_by + '\'' +
                ", del_flag=" + del_flag +
                '}';
    }
}
